package Extends.NameSameQuestions.ChengyuanMethodSame;
/*

*/
public class Demo01ExtendsMethod {
    public static void main(String[] args) {
        Zi zi = new Zi();
        zi.methodFu();
        zi.methodZi();
        System.out.println("=======================");
        //用哪个对象，优先用哪个对象的类的成员方法（如果子类没有，再找父类）
        zi.method();

    }
}
